﻿using System;
using System.IO;

namespace PrintOddLines
{
    class PrintOddLines
    {
        static void Main()
        {
            string line, path = @"..\..\TestFile.txt";
            using (StreamReader reader = new StreamReader(path))
            {
                for (int lineNumber = 1; (line = line = reader.ReadLine()) != null; lineNumber++)
                {
                    if ((lineNumber & 1) == 1)
                    {
                        Console.WriteLine(line);
                    }
                }
            }
        }
    }
}